home *** CD-ROM | disk | FTP | other *** search
-
-
-
- AAAAIIIIOOOO____CCCCAAAANNNNCCCCEEEELLLL((((3333)))) AAAAIIIIOOOO____CCCCAAAANNNNCCCCEEEELLLL((((3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- aio_cancel, aio_cancel64 - cancel an asynchronous I/O request
-
- CCCC SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<aaaaiiiioooo....hhhh>>>>
-
- iiiinnnntttt aaaaiiiioooo____ccccaaaannnncccceeeellll((((iiiinnnntttt ffffiiiillllddddeeeessss,,,, aaaaiiiiooooccccbbbb____tttt ****aaaaiiiiooooccccbbbbpppp))));;;;
-
- iiiinnnntttt aaaaiiiioooo____ccccaaaannnncccceeeellll66664444((((iiiinnnntttt ffffiiiillllddddeeeessss,,,, aaaaiiiiooooccccbbbb66664444____tttt ****aaaaiiiiooooccccbbbbpppp))));;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The _a_i_o__c_a_n_c_e_l() function attempts to cancel one or more asynchronous I/O
- requests currently outstanding against file descriptor _f_i_l_d_e_s. The _a_i_o_c_b
- argument points to the asynchronous I/O control block for a particular
- request to be canceled. If _a_i_o_c_b_p is NULL, then all outstanding
- cancelable asynchronous I/O requests against _f_i_l_d_e_s are canceled.
-
- The _a_i_o__c_a_n_c_e_l_6_4() function is identical to _a_i_o__c_a_n_c_e_l() except that it
- takes an _a_i_o_c_b_6_4__t * (see <aaaaiiiioooo....hhhh>). This structure allows for the
- specification of a file offset greater than 2 Gigabytes. The user must
- define ____AAAABBBBIIII____SSSSOOOOUUUURRRRCCCCEEEE and include ----llllaaaabbbbiiii to access the _a_i_o_6_4 routines.
-
- Normal signal delivery shall not occur for asynchronous I/O operations
- that are successfully canceled. If there are requests which can not be
- canceled, then the normal asynchronous completion process shall take
- place for those requests when they are completed.
-
- For requested operations that are successfully canceled the associated
- error status is set to ECANCELED and the return status is -1. For
- requested operations that are not successfully canceled the _a_i_o_c_b_p is not
- modified by _a_i_o__c_a_n_c_e_l().
-
- If _a_i_o_c_b_p is no NULL, then if _f_i_l_d_e_s does not have the same value as the
- file descriptor with which the asynchronous operation was initiated,
- unspecified results occur.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- aio_read(3), aio_write(3), aio_sgi_init(3).
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- The _a_i_o__c_a_n_c_e_l() function returns the value AIO_CANCELED to the calling
- process if the requested operation(s) were canceled. The value
- AIO_NOTCANCELED is returned if at least one of the requested operation(s)
- can not be canceled because it is in progress. In this case, the state of
- the other operations, if any, referenced in the call to _a_i_o__c_a_n_c_e_l() is
- not indicated by the return value of _a_i_o__c_a_n_c_e_l(). The application may
- determine the state of affairs for these operations by using _a_i_o__e_r_r_o_r().
- The value AIO_ALLDONE is returned if all of the operations have already
- completed. Otherwise, the function shall return -1, and sets _e_r_r_n_o to
- indicate the error.
-
- If any of the conditions below occur, the _a_i_o__c_a_n_c_e_l() function shall
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- AAAAIIIIOOOO____CCCCAAAANNNNCCCCEEEELLLL((((3333)))) AAAAIIIIOOOO____CCCCAAAANNNNCCCCEEEELLLL((((3333))))
-
-
-
- return -1 and set _e_r_r_n_o to the corresponding value.
-
- [EBADF] The _f_i_l_d_e_s argument is not a valid file descriptor.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-